package com.xingkeduo.delayQueue.model;

import lombok.AllArgsConstructor;
import lombok.Getter;

@AllArgsConstructor
@Getter
public enum TaskModelEnum {

    //60秒后关闭订单
    close_order("orderDomainService", "closeOrder",  90 * 1000L),   //90秒
    close_suixingfu_order("orderDomainService", "closeOrder",  60 * 60 * 1000L),
    speed_progress("orderDomainService", "speedProgress",  90 * 1000L),

    test("orderDomainService", "test",  5 * 1000L);

    //写入spring的名称
    private String className;
    private String methodName;
    private long expireTime;
}
